<pre>
<?php
	//ini_set('include_path', '/virtual/dropcoke/pear' . PATH_SEPARATOR . ini_get('include_path'));
	require_once('DataAccess/DataModel/MailData.php');
	require_once('DataAccess/DataModel/EventData.php');
	require_once('mlcomconfig.php');
	require_once('DataController/CommonConfig.php');
	CommonConfig::setCommonConfig(MLCOM_CONNECTION_STRING,
										MLCOM_ADMIN_MAILADDRESS,
										MLCOM_CULTURE_SET);
	mb_language( "ja" );
	mb_internal_encoding("EUC-JP");
	

	
	
	$mail =& new EventData();
	$mail->setMailId(12);
	$mail->select();
	echo $mail->getComment()."\n";
	echo mb_detect_encoding($mail->getComment())."\n";
	echo mb_convert_encoding($mail->getComment(), "utf8", "auto")."\n";
?>
</pre>